Snap installation fails though library dependencies are in snap
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I tried to install snap keepalived on a riscv64 system on which the packages libsnmp40 and libipset13 were not installed and received errors
Mar 19 10:42:35 node keepalived.daemon[255429]: /snap/keepalived/2945/usr/sbin/keepalived-519: error while loading shared libraries: libipset.so.13: cannot open shared object file: No such file or directory
Mar 19 10:42:35 node systemd[1]: snap.keepalived.daemon.service: Control process exited, code=exited, status=127/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
Mar 19 10:45:18 node keepalived.daemon[256538]: /snap/keepalived/2945/usr/sbin/keepalived-519: error while loading shared libraries: libnetsnmpmibs.so.40: cannot open shared object file: No such file or directory
Mar 19 10:45:18 node systemd[1]: snap.keepalived.daemon.service: Control process exited, code=exited, status=127/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
After installing packages libsnmp40 and libipset13 the installation succeeded.
This is unexpected as libsnmp40 and libipset13 are in stage-packages and the following paths are valid:
/snap/keepalived/current/usr/lib/riscv64-linux-gnu/libnetsnmpmibs.so.40 -> libnetsnmpmibs.so.40.1.0
/snap/keepalived/current/usr/lib/riscv64-linux-gnu/libipset.so.13 -> libipset.so.13.3.0
The snap source is available at https://github.com/acassen/keepalived.
Evaluation history
No evaluation history available.